package com.efo.service.impl;

import com.efo.mapper.LogLoginMapper;
import com.efo.model.LogLogin;
import com.efo.service.LogLoginService;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Package: com.efo.service.impl
 * @Description: 登录记录业务逻辑接口实现类
 * @Author CHY
 * @Create 2021年11月06日 17时50分36秒
 */
@Service
public class LogLoginServiceImpl implements LogLoginService {
    @Autowired
    private LogLoginMapper logLoginMapper;

    @Override
    public boolean add(LogLogin logLogin) {
        return logLoginMapper.insert(logLogin)>0?true:false;
    }

    @Override
    public PageInfo<LogLogin> queryListByPage(Integer pageNum, Integer pageSize) {
        return null;
    }
}
